package com.kun.order.feign;

import com.kun.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("decorate-product")
public interface ProductFeignService {
    @GetMapping("/product/classify/getAllClassify")
     R getAllClassify();
    @GetMapping("/product/product/getProductByClassify/{id}")
    public R getProductByClassify(@PathVariable String id);
    //获取商品详情
    @GetMapping("/product/product/info/{id}")
    public R info(@PathVariable String id);
}
